/**
 * 路由入口
 */

const router = require('koa-router')(); //添加前缀 '/api'

const api = require('./api'); // api接口
const article = require('./article'); // 页面

router.use('/api', api.routes());
router.use('/article', article.routes());

module.exports = router;
